package com.geekbg.zookeeper;

import org.apache.curator.framework.recipes.cache.NodeCache;

import java.util.Objects;

/**
 * @author pizhihui
 * @date 2020-09-05
 */
public class ZKDemo {

    public static void main(String[] args) throws Exception {

//        NodeCache nodeCache = new NodeCache(null, null);
//        nodeCache.getListenable().addListener(null);
//
//        nodeCache.start();



            System.out.println(Objects.hashCode("2021-06-30")  % 8);

    }

}
